package data;

public class SimpleURI implements URI {
	private String pre;
	private String sur;

	public SimpleURI(String prefix, String surfix) {
		pre = prefix;
		sur = surfix;
	}
	
	public String toString()
	{
		return "<"+pre+"#"+sur+">";
	}
	public String toString1()
	{
		return "<"+pre+":"+sur+">";
	}
	@Override
	public String getPrefix() {
		return pre;
	}

	@Override
	public String getSurfix() {
		return sur;
	}

}
